package cn.alex.sso.project.sync.event;

import cn.alex.sso.project.sync.module.RoleDataSyncModule;

import java.util.Collections;
import java.util.List;

/**
 * 角色数据同步
 *
 * @author Alex
 * @date 2024/12/1 02:31
 */
public class RoleAbstractDataSyncEvent extends AbstractDataSyncEvent {
    public RoleAbstractDataSyncEvent(Object source, Object data, RoleDataSyncModule.Trigger trigger) {
        super(source, data, RoleDataSyncModule.MODULE.getValue(), trigger.getValue());
    }

    @Override
    public List<Long> customSyncClient() {
        return Collections.emptyList();
    }

    @Override
    public Object customProcess(Object data) {
        return data;
    }
}
